package com.etennis.utils;

public class IsValidRecord {

    public boolean isValidRecord(int pointA,int pointB) {

        if(pointA==6&&(pointB<5&&pointB>-1)||(pointA>-1&&pointA<5)&&pointB==6
                ||pointA==7&&(pointB==5||pointB==6)||(pointB==7&&(pointA==5||pointA==6))){
            return true;
        }
        return false;
    }
}
